package com.jy.api.okhttp;

import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;

import java.util.Map;

/**
 * @ename wade.nie
 * @cname 聂敏
 * @email 550552699@qq.com
 * @date 2024/7/15
 */
public interface IThirdClient {

    /**
     * 设置名字
     */
    String name();

    /**
     * 执行
     */
    ResponseEntity<String> execute(String url, Map<String, String> headers, HttpMethod method, MediaType mediaType, String paramsBody, Map<String, ?> uriVariables);
}
